
//键盘输入任意的字符串，打乱里面的内容

import java.util.Random;
import java.util.Scanner;

public class Test1 {
    public static void main(String[] args) {
        //输入字符串
        Scanner scanner = new Scanner(System.in);
        String str = scanner.nextLine();

        //将字符串转变成数组
        char[] crr = str.toCharArray();

        //设计随机数
        Random random = new Random();
//        System.out.println(crr.length);
        int r = 0;
        char tmp = 0;
        for (int i = 0; i < crr.length; i++) {
            r = random.nextInt(crr.length);
//            System.out.println(r);
            tmp = crr[i];
            crr[i] = crr[r];
            crr[r] = tmp;
        }

        //输出
        str = new String(crr);
        System.out.println(str);
    }
}
